package com.hoshiicloud.user.mapper.rbac;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hoshiicloud.rbac.entity.SysDepartmentUsers;
import org.apache.ibatis.annotations.Param;

public interface SysDepartmentUsersMapper extends BaseMapper<SysDepartmentUsers> {
    Integer deletePhysicByUserId(@Param("userId") Long userId);

    Integer deletePhysicByDepartmentId(@Param("departmentId")Long departmentId);
}
